<?php
/**
 * Created by PhpStorm.
 */

use Biz\service\activity\Coupon as sCoupon;
/**
 * @deprecated
 */
class ShopSelectListAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REGISTER;
    const ACTION_TYPE = "coupon";

    public function main()
    {
        $shopId = $this->getRequest()->getQuery('shop_id', 0);
        $tabId = $this->getRequest()->getQuery('tab_id', 1);
        $skuToken = $this->getRequest()->getQuery('sku_token', '');


        $result = sCoupon::shopSelectList($this->uid, $tabId, $shopId, $skuToken);

        $this->setSuccess(['list' => $result]);
    }

}
